const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
        '/api': {
            target: 'https://m.bmtrip.com/api',//后端接口地址https://m.bmtrip.com/api
            changeOrigin: true,//是否允许跨越
            pathRewrite: {
                '^/api': '/'//重写,
            }
        }
    }
}
})
